//商品列表一
import request from 'axios';
export const NewproductGoodsApi = (page,size) => {
    return request({
        url: "http://47.102.218.109:8082//tb_goods_one/findByPage/"+ page + '/' + size,
        method: 'Get'
    })
};
//登录页面
export const loginApi = (account,password) => {
    return request({
        url: "http://47.102.218.109:8082//user/login/" + account + '/' + password,
        method: 'get'
    })
};
//商品列表二
export const Product2 = (page,size)=>{
    return request({
      url:"http://47.102.218.109:8082//tb_goods_two/findByPage/"+ page + '/' + size,
        method:'Get'
    })
};
//商品列表三
export const Product3 = (page,size)=>{
    return request({
        url:"http://47.102.218.109:8082//tb_goods_three/findByPage/"+ page + '/' + size,
        method:'Get'
    })
};
//商品列表四
export const Product4 = (page,size)=>{
    return request({
        url:"http://47.102.218.109:8082//tb_goods_four/findByPage/"+ page + '/' + size,
        method:'Get'
    })
};
//商品五
export const Product5 = (page,size)=>{
    return request({
        url:"http://47.102.218.109:8082//tb_goods_five/findByPage/"+ page + '/' + size,
        method:'Get'
    })
};
//商品列表
export const Shop = (page,size)=>{
    return request({
        url:"http://47.102.218.109:8082//tb_goods/findByPage/"+ page + '/' + size,
        method:'Get'
    })
};
